<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <script src="js/swiper-4.2.6.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="css/swiper-4.2.6.min.css"/>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="js/public.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/font.js"></script>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/ui.css">
    <title></title>
    <!-- 服务中心 -->
    <style>
    </style>
</head>
<body>
<div class="scroll-content2 my-service-center" style="overflow:auto;background: #f1f1f1;">
    <div class="top-public">
        <span class="public-center">服务中心</span>        
        <img src="images/left_icon.png" alt="" class="public-left">
    </div>
    <div class="top-box">
        <img src="images/fwcenter1.png" alt="">
        <p>智能顾问</p>
        <span>智能诊断 多端触达</span>
        <div class="lj">立即提问</div>
    </div>
    <div class="top-box2">
        <ul>
            <li onclick="gd()">
                <span>工单</span>
                <span id="workConduct">0</span>
            </li>
            <li class="kf">
                <span>客服电话</span>
            </li>
        </ul>
    </div>
    <div class="hot">
        <div class="title">
            <p>热门问题</p>
        </div>
        <ul>
            <li onclick="tiwen()">如何关联/导入包裹</li>
            <li onclick="tiwen()">如何关联/导入包裹</li>
            <li onclick="tiwen()">如何关联/导入包裹</li>
            <li onclick="tiwen()">如何关联/导入包裹</li>
            <li onclick="tiwen()">如何关联/导入包裹</li>
            <li onclick="tiwen()">如何关联/导入包裹</li>
            <li onclick="tiwen()">如何关联/导入包裹</li>
        </ul>
    </div>
    <div class="pop-up">
        <p>400-800-9360</p>
        <ul>
            <li onclick="qx()">取消</li>
            <li onclick="qd()">
                <a href="tel:4008009360">呼叫</a>
            </li>
            
        </ul>
    </div>
    <div class="opacity-gray"></div>
</div>
</body>
<script>
$('.public-left').click(function(){
    // window.history.go(-1);
    window.location.href = 'my.html';
})
function gd(){
    window.location.href = 'my_servicecenter_gd.html';
}

$('.lj').click(function(){
    window.location.href = 'my_servicecenter_xzcp.html';
});

// 客服弹窗
$('.kf').click(function(){
    $('.pop-up').css('display','block');
    $('.opacity-gray').css('display','block');
});
// 客服取消
function qx(){
    $('.pop-up').css('display','none');
    $('.opacity-gray').css('display','none');
}
// 客服确定
function qd(){
    $('.pop-up').css('display','none');
    $('.opacity-gray').css('display','none');
}

function tiwen(){
    window.location.href = 'my_servicecenter_xzcp.html';
}
</script>

<script>
    $(function () {
        var user_id = sessionStorage.getItem("userId"); //用户ID
        $.ajax({
            url: url() + 'api/Invoice/workConduct', //请求的url地址
            dataType: "JSON", //返回格式为json
            async: true, //请求是否异步，默认为异步，这也是ajax重要特性
            type: "POST", //请求方式
            data:{
                user_id:user_id,
            },
            success: function (data) {
                // 请求成功时处理
                if(data.status==1){
                    $('#workConduct').html(data.data);
                } else {
                    $('#workConduct').html(0);
                    console.log(data);
                }
            }
        });

    });
</script>

</html> 






